<script src="../include.js"></script>
<script>
    test(() => {
        let testCounter = 1;
        function testPart(part) {
            println(`${testCounter++}. ${JSON.stringify(part())}`);
        }

        // 1. Flip X DOMMatrix
        testPart(() => new DOMMatrix([10, 20, 30, 40, 50, 60]).flipX());

        // 2. Flip X DOMMatrix
        testPart(() => new DOMMatrix([10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160]).flipX());

        // 2. Flip Y DOMMatrix
        testPart(() => new DOMMatrix([10, 20, 30, 40, 50, 60]).flipY());

        // 3. Flip Y DOMMatrix
        testPart(() => new DOMMatrix([10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160]).flipY());
    });
</script>
